<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>安全运行及使用记录-frame</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.2.0.css" />
    <style>
        [v-cloak] {
            display: none;
        }

        .equipment-wrapper {
            display: -webkit-flex;
            display: flex;
            justify-content: flex-start;
        }

        .equipment-wrapper>div:nth-child(1) {
            width: 0%;
        }

        .equipment-wrapper>div:nth-child(2) {
            width: 100%;
            border-radius: 10px;
            overflow: hidden;
        }

        .aui-list-item-label>input,
        .aui-list-item-label>span {
            margin-left: 5px;
        }

        .multi-col-3-wrapper {
            display: -webkit-flex;
            display: flex;
            justify-content: flex-start;
            padding: 10px 0;
        }

        .multi-col-3-wrapper>div:nth-child(1) {
            width: 20%;
            position: relative;
        }

        .multi-col-3-wrapper>div:nth-child(1)>span {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            display: block;
            width: 50px;
        }

        .multi-col-3-wrapper>div:nth-child(2) {
            width: 45%;
        }

        .multi-col-3-wrapper>div:nth-child(2)>p:nth-child(1) {
            height: 40px;
            line-height: 40px;
        }

        .multi-col-3-wrapper>div:nth-child(2)>p:nth-child(2) {
            height: 40px;
            line-height: 40px;
        }

        .multi-col-3-wrapper>div:nth-child(2)>p:nth-child(3) {
            height: 20px;
            line-height: 20px;
        }

        .multi-col-3-wrapper>div:nth-child(3) {
            width: 30%;
        }

        .multi-col-3-wrapper>div:nth-child(3)>p {
            height: 20px;
            line-height: 20px;
        }

        .multi-col-3-wrapper>div:nth-child(4) {
            width: 20%;
        }

        .multi-col-3-wrapper>div:nth-child(4)>p {
            height: 20px;
            line-height: 20px;
        }

        .equipment-desc-wrapper {
            display: -webkit-flex;
            display: flex;
            justify-content: flex-start;
            padding: 10px 0;
        }

        .equipment-desc-wrapper>div:nth-child(1) {
            width: 20%;
            position: relative;
        }

        .equipment-desc-wrapper>div:nth-child(1)>span {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .equipment-desc-wrapper>div:nth-child(2) {
            width: 80%;
            color: #888;
        }

        .aui-border-t:before,
        .aui-border-t::after,
        .aui-list:before,
        .aui-list:after {
            display: none;
        }

        #app {
            width: 95%;
            margin: 0 auto;
        }

        .aui-list .aui-list-item-label,
        .aui-list .aui-list-item-label-icon {
            width: 20%;
        }

        .main-wrapper {
            width: 100%;
        }

        .main-wrapper>.top-header {
            text-align: center;
        }

        .main-wrapper>.top-nav,
        .top-middle {
            display: -webkit-flex;
            display: flex;
            justify-content: flex-start;
        }

        .main-wrapper>.top-nav>div {
            width: 33%;
            text-align: center;
            font-size: 16px;
        }

        .main-wrapper>.top-middle>div {
            width: 20%;
            font-size: 14px;
            text-align: center;
        }

        .main-wrapper>.top-content {
            display: -webkit-flex;
            display: flex;
            justify-content: flex-start;
        }

        .main-wrapper>.top-content>div {
            width: 20%;
            font-size: 14px;
            text-align: center;
        }

        .main-wrapper>div {
            height: 30px;
            line-height: 30px;
            margin: 10px auto;
        }

        .textarea-container {
            width: 100%;
            margin: 0 auto;
        }

        .textarea-container>div:nth-child(1) {
            text-align: center;
            font-size: 17px;
        }

        .textarea-container>div:nth-child(2) {
            padding: 10px;
        }

        .aui-list-header {
            padding: 5px 0;
        }

        .aui-list-header {
            display: -webkit-flex;
            display: flex;
            justify-content: flex-start;
        }

        .aui-list-header>span:nth-child(1) {
            width: 20%;
        }

        .aui-list-header>span:nth-child(2) {
            width: 80%;
        }

        .aui-list-header>span:nth-child(2)>input {
            border: 1px solid #000;
        }

        .aui-form-list-wrapper,
        .aui-form-list-info-wrapper {
            display: flex;
            display: -webkit-flex;
            justify-content: flex-start;
            flex-wrap: wrap;
            margin: 10px 0;
        }

        .aui-form-list-wrapper>li,
        .aui-form-list-info-wrapper>li {
            width: 50%;
        }

        .aui-list-item-label {
            width: 100% !important;
            font-size: 16px;
        }

        .aui-list-item-input {
            font-size: 16px;
        }

        .aui-list-item-input>input::-webkit-input-placeholder {
            font-size: 16px;
        }

        .aui-input-wrapper {
            position: relative;
            top: -20px;
        }

        .aui-input-wrapper>input {
            margin: 0 auto;
            width: 100px;
            display: block;
            text-align: center;
        }

        .textarea-wrapper {
            min-height: 100px;
            border: 1px solid rgba(0, 0, 0, 0.3);
            width: 97%;
            margin: 20px auto 5px auto;
            border-radius: 5px;
        }

        .submit-btn-bottom {
            font-size: 16px;
            margin: 30px auto;
            text-align: center;
        }

        .submit-btn-bottom>button {
            border: none;
            outline: none;
            background-color: #0064B0;
            height: 50px;
            width: 150px;
            color: #fff;
        }
    </style>
</head>

<body>
    <main id="app">
        <div class="equipment-wrapper">
            <div></div>
            <div class="aui-card-list">
                <div class="aui-content aui-margin-b-15">
                    <ul class="aui-list aui-form-list aui-form-list-wrapper">
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    日期：
                                </div>
                                <div class="aui-list-item-input" id="irTime" onclick="getDateTime()">
                                    {{getDateTime}}
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    舱次选择：
                                </div>
                                <div class="aui-list-item-input">
                                    <select id="irRepair">
                                        <option value="无">无</option>
                                        <option value="一号舱">一号舱</option>
                                        <option value="二号舱">二号舱</option>
                                        <option value="三号舱">三号舱</option>
                                        <option value="单独开舱">单独开舱</option>
                                    </select>
                                </div>
                            </div>
                        </li>
                        <!-- 文本 -->
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    总电源：
                                </div>
                                <div class="aui-list-item-input">
                                    <input type="text" id="irPowerSupply" value="380V" placeholder="填写总电源">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    签名：
                                </div>
                                <div class="aui-list-item-input">
                                    <input type="text" id="irAutograph" placeholder="填写签名">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    供气压力<span>MPa</span>：
                                </div>
                                <div class="aui-list-item-input">
                                    <input type="text" id="irSupplyPressure" placeholder="填写供气压力">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    供氧压力<span>MPa</span>：
                                </div>
                                <div class="aui-list-item-input">
                                    <input type="text" id="irOxygenPressure"
                                        placeholder="填写供氧压力">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    氧浓度<span>%</span>：
                                </div>
                                <div class="aui-list-item-input">
                                    <input type="text" id="irSampleDetector" placeholder="填写氧浓度">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    舱内温度<span>°C</span>：
                                </div>
                                <div class="aui-list-item-input">
                                    <input type="text" id="irCabinTemper" placeholder="填写舱内温度">
                                </div>
                            </div>
                        </li>

                        <!-- 勾选 -->
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    加压系统：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irPressurizSystem" value="1"
                                        checked id="irPressurizSystem">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    减压系统：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irDecompresSystem" value="1"
                                        checked id="irDecompresSystem">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    排氧系统：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irOxygenSupply" value="1"
                                        checked id="irOxygenSupply">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    各阀门按键归零：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irZero" value="1" checked
                                        id="irZero">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    对讲系统：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irIntercomSystem" value="1" checked
                                        id="irIntercomSystem">
                                </div>
                            </div>
                        </li>



                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    应急呼叫：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irEmergencyCall" value="1" checked
                                        id="irEmergencyCall">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    舱内灯光：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irCabinLighting" value="1" checked
                                        id="irCabinLighting">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    空调：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irAirConditioner" value="1" checked
                                        id="irAirConditioner">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    递物筒：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irDeliveryBox" value="1" checked
                                        id="irDeliveryBox">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    紧急泄压器：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irReliefValve" value="1" checked
                                        id="irReliefValve">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    真空泵：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irVacuumPump" value="1" checked
                                        id="irVacuumPump">
                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    关闭舱门：
                                </div>
                                <div class="aui-list-item-input">
                                    <input class="aui-checkbox" type="checkbox" name="irCloseHatch" value="1" checked
                                        id="irCloseHatch">
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="main-wrapper">
                    <div class="top-header" style="font-size: 18px;">
                        空气压缩机
                    </div>
                    <ul class="aui-list aui-form-list aui-form-list-wrapper">
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    开机时间：
                                </div>
                                <div class="aui-list-item-input">
                                    <input type="text" id="irStartupTime" value="" placeholder="开机时间">

                                </div>
                            </div>
                        </li>
                        <li class="aui-list-item">
                            <div class="aui-list-item-inner">
                                <div class="aui-list-item-label">
                                    关机时间：
                                </div>
                                <div class="aui-list-item-input">
                                    <input type="text" id="irShutdownTime" placeholder="关机时间">

                                </div>
                            </div>
                        </li>
                    </ul>
                    <div class="top-nav">
                        <div>开机</div>
                        <div>关机</div>
                        <div>运行时间累计</div>
                    </div>
                    <div class="top-middle">
                        <div>温度<span>°C</span></div>
                        <div>压力<span>Mpa</span></div>
                        <div>温度<span>°C</span></div>
                        <div>压力<span>Mpa</span></div>
                        <div>运行时间累计<span>h</span></div>
                    </div>
                    <div class="top-content">
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                            </div>
                            <div class="aui-list-item-input aui-input-wrapper">
                                <input type="text" id="irStartTemp" placeholder="温度">
                            </div>
                        </div>
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                            </div>
                            <div class="aui-list-item-input aui-input-wrapper">
                                <input type="text" id="irStartPressure" placeholder="压力">
                            </div>
                        </div>
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                            </div>
                            <div class="aui-list-item-input aui-input-wrapper">
                                <input type="text" id="irShutTemp" placeholder="温度">
                            </div>
                        </div>
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                            </div>
                            <div class="aui-list-item-input aui-input-wrapper">
                                <input type="text" id="irShutPressure" placeholder="压力">
                            </div>
                        </div>
                        <div class="aui-list-item-inner">
                            <div class="aui-list-item-label">
                            </div>
                            <div class="aui-list-item-input aui-input-wrapper">
                                <input type="text" id="irCumulativeTime" placeholder="运行时间累计">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="textarea-container">
                    <div>备注</div>
                    <div contenteditable="true" class="textarea-wrapper" id="irRemarks">
                    </div>
                </div>
                <div class="submit-btn-bottom">
                    <button onclick="insertHoInspectionRecord()">提交</button>
                </div>
            </div>
        </div>
    </main>
</body>

</html>

<script src="../script/api.js" charset="utf-8" type="text/javascript"></script>
<script src="../script/vue.js" charset="utf-8" type="text/javascript"></script>
<script src="../js/jquery.min.js" charset="utf-8" type="text/javascript"></script>
<script src="../js/ToConfigure.js" charset="utf-8" type="text/javascript"></script>
<script src="../script/aui-toast.js" charset="utf-8" type="text/javascript"></script>
<script src="../script/aui-dialog.js" charset="utf-8" type="text/javascript"></script>
<script src="../script/aui-tab.js" charset="utf-8" type="text/javascript"></script>
<script type="text/javascript">
    var vm = null;
    apiready = function () {
        vm = new Vue({
            el: '#app',
            data: {
                getDateTime: '选择日期'
            }, created() {

            },
            methods: {

            }
        })
    }

    function getDateTime() {
        api.openPicker({
            type: 'date',
            title: '选择开始日期'
        }, function (ret, err) {
            if (ret) {
                var month = ret.month > 9 ? ret.month : '0' + ret.month;
                var day = ret.day > 9 ? ret.day : '0' + ret.day;
                vm.getDateTime = '' + ret.year +
                    '-' + month +
                    '-' + day
            }
        });
    }


    /**
     * 添加巡检记录
     */
    function insertHoInspectionRecord() {
        var toast = new auiToast();
        //获取所属医院IP地址
        var Url_IP = ToConfigure_IP("Gorgeous");
        var JsonStr = GetParameters();
        if (JsonStr != null && JsonStr != "") {
            /**
                     * 请求控制器
                     */
            $.ajax({
                url: Url_IP + '/disinfectioninspection/hoinspectionrecord/insertHoInspectionRecord',
                type: 'post',
                async: false,
                contentType: "application/json",
                dataType: "json",
                data: JsonStr,
                success: function (result) {

                    /**
                     * 验证返回信息是否为空
                     */
                    if (result.success == true) {
                        /**
                         * 操作成功提醒
                         */
                        JumpPage();
                    } else {
                        /**
                         *  提示错误信息
                         */
                        toast.fail({
                            title: "提交失败",
                            duration: 2000
                        });
                    }
                },
                error: function (result) {
                    /**
                     *  提示错误信息
                     */
                    toast.fail({
                        title: "提交失败",
                        duration: 2000
                    });
                }
            })
        }

    }



    //跳转页面
    function JumpPage() {
        var dialog = new auiDialog();
        dialog.alert({
            title: "提示",
            msg: '操作成功，是否跳转设备巡检记录单',
            buttons: ['取消', '确定']
        }, function (ret) {
            if (ret.buttonIndex === 1) {

            } else if (ret.buttonIndex === 2) {

                api.historyBack({}, function (ret, err) {
                    if (!ret.status) {
                        api.closeWin();
                    }
                });

                api.sendEvent({
                    name: 'On_Site_Inspection',
                    extra: {
                        state: 'no'
                    }
                });
            }
        })
    }



    //获取参数添加巡检信息
    function GetParameters() {
        var jsParms = new Object();
        /**
         *日期
        */
        jsParms.irTime = $("#irTime").text();
        /**
         *日期
         */
        jsParms.irSupplyPressure = $("#irSupplyPressure").val();
        /**
         *日期
         */
        jsParms.irOxygenPressure = $("#irOxygenPressure").val();

        /**
         *单选按钮选中的话给电气系统赋值
         */
        $('input[name=irElectricSystem]:checked').each(function () {
            /**
             * 给过电气系统赋值
             */
            jsParms.irElectricSystem = $(this).val();
        });
        if (jsParms.irElectricSystem == null || jsParms.irElectricSystem == undefined) {
            jsParms.irElectricSystem = 0;
        }

        /**
         *单选按钮选中的话给加减压系统赋值
         */
        $('input[name=irPlusReduce]:checked').each(function () {
            /**
             * 给加减压系统赋值
             */
            jsParms.irPlusReduce = $(this).val();
        });
        if (jsParms.irPlusReduce == null || jsParms.irPlusReduce == undefined) {
            jsParms.irPlusReduce = 0;
        }

        /**
         *单选按钮选中的话给供排氧系统赋值
         */
        $('input[name=irOxygenSupply]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irOxygenSupply = $(this).val();
        });
        if (jsParms.irOxygenSupply == null || jsParms.irOxygenSupply == undefined) {
            jsParms.irOxygenSupply = 0;
        }

        /**
         *
         */
        $('input[name=irPressurizSystem]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irPressurizSystem = $(this).val();
        });
        if (jsParms.irPressurizSystem == null || jsParms.irPressurizSystem == undefined) {
            jsParms.irPressurizSystem = 0;
        }

        $('input[name=irDecompresSystem]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irDecompresSystem = $(this).val();
        });
        if (jsParms.irDecompresSystem == null || jsParms.irPressurizSystem == undefined) {
            jsParms.irDecompresSystem = 0;
        }

        $('input[name=irZero]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irZero = $(this).val();
        });
        if (jsParms.irZero == null || jsParms.irZero == undefined) {
            jsParms.irZero = 0;
        }

        $('input[name=irIntercomSystem]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irIntercomSystem = $(this).val();
        });
        if (jsParms.irIntercomSystem == null || jsParms.irIntercomSystem == undefined) {
            jsParms.irIntercomSystem = 0;
        }

        $('input[name=irEmergencyCall]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irEmergencyCall = $(this).val();
        });
        if (jsParms.irEmergencyCall == null || jsParms.irEmergencyCall == undefined) {
            jsParms.irEmergencyCall = 0;
        }

        $('input[name=irAirConditioner]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irAirConditioner = $(this).val();
        });
        if (jsParms.irAirConditioner == null || jsParms.irAirConditioner == undefined) {
            jsParms.irAirConditioner = 0;
        }

        $('input[name=irDeliveryBox]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irDeliveryBox = $(this).val();
        });
        if (jsParms.irDeliveryBox == null || jsParms.irDeliveryBox == undefined) {
            jsParms.irDeliveryBox = 0;
        }

        $('input[name=irReliefValve]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irReliefValve = $(this).val();
        });
        if (jsParms.irReliefValve == null || jsParms.irReliefValve == undefined) {
            jsParms.irReliefValve = 0;
        }

        $('input[name=irVacuumPump]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irVacuumPump = $(this).val();
        });
        if (jsParms.irVacuumPump == null || jsParms.irVacuumPump == undefined) {
            jsParms.irVacuumPump = 0;
        }

        $('input[name=irCloseHatch]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irCloseHatch = $(this).val();
        });
        if (jsParms.irCloseHatch == null || jsParms.irCloseHatch == undefined) {
            jsParms.irCloseHatch = 0;
        }

        $('input[name=irCabinLighting]:checked').each(function () {
            /**
             * 给供排氧系统赋值
             */
            jsParms.irCabinLighting = $(this).val();
        });
        if (jsParms.irCabinLighting == null || jsParms.irCabinLighting == undefined) {
            jsParms.irCabinLighting = 0;
        }
        /**
         *
         */
        /**
         *给开机温度赋值
         */
        jsParms.irPowerSupply = $("#irPowerSupply").val();
        /**
         *给开机温度赋值
         */
        jsParms.irSampleDetector = $("#irSampleDetector").val();
        /**
         *给开机温度赋值
         */
        jsParms.irCabinTemper = $("#irCabinTemper").val();
        /**
         *给开机温度赋值
         */
        jsParms.irStartupTime = $("#irStartupTime").val();
        /**
         *给开机温度赋值
         */
        jsParms.irShutdownTime = $("#irShutdownTime").val();
        /**
         *给开机温度赋值
         */
        jsParms.irAutograph =api.pageParam["userName"];


        /**
         *给开机温度赋值
         */
        jsParms.irStartTemp = $("#irStartTemp").val();
        /**
         *给开机压力赋值
         */
        jsParms.irStartPressure = $("#irStartPressure").val();
        /**
         *给关机温度赋值
         */
        jsParms.irShutTemp = $("#irShutTemp").val();
        /**
         *给关机压力赋值
         */
        jsParms.irShutPressure = $("#irShutPressure").val();
        /**
         *给运行时间累计赋值
         */
        jsParms.irCumulativeTime = $("#irCumulativeTime").val();
        /**
         *给故障及维修情况赋值
         */
        jsParms.irRepair = $("#irRepair").val();
        /**
         *给备注赋值
         */
        jsParms.irRemarks = $("#irRemarks").text();

        return JSON.stringify(jsParms);

    }




</script>